package com.fenghuo.model;

import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Table;

@Table(name="MapPoint")
public class MapPoint {
	@Id
	private int id;
	private int x;
	private int y;
	private String name;
	private String kind;
	private String content;
	private String imgurl;
	public MapPoint(int id, int x, int y, String name, String kind,
			String content, String imgurl) {
		super();
		this.id = id;
		this.x = x;
		this.y = y;
		this.name = name;
		this.kind = kind;
		this.content = content;
		this.imgurl = imgurl;
	}
	
	public MapPoint() {
		super();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	@Override
	public String toString() {
		return "MapPoint [id=" + id + ", x=" + x + ", y=" + y + ", name="
				+ name + ", kind=" + kind + ", content=" + content
				+ ", imgurl=" + imgurl + "]";
	}
	
	
	
}
